package com.mtnz.njk.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
* @Description:    用户收货地址信息表
* @Author:         FBL
* @CreateDate:     2019\7\24 0024 16:06
* @Version:        1.0
*/
@Table(name = "njk_user_address")
@Data
public class NjkUserAddressEntity {
    @Id
    @Column(name = "address_id")
    private String addressId;
    @Column(name = "user_id")
    private String userId;
    private String name;
    private String phone;
    @Column(name = "address_detail")
    private String addressDetail;
    private String province;
    private String city;
    private String county;
    @Column(name = "default_address")
    private Integer defaultAddress;

    @Transient
    private Double balance;

}
